<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>Plugin - jQuery::dForm 0.1.3</title><link rel="stylesheet" type="text/css" href="../styles/main.css"><script language=JavaScript src="../javascript/main.js"></script><script language=JavaScript src="../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad();"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version 1.5 -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CFile"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Plugin"></a>Plugin</h1><div class=CBody><p>This is the documentation for the core helpers and jQuery functions of the plugin.</p><h4 class=CHeading>Author</h4><p>David Luecke (<a href="#" onClick="location.href='mai' + 'lto:' + 'da' + 'ff' + '@' + 'neye' + 'on.de'; return false;" class=LEMail>da<span style="display: none">.nosp@m.</span>ff<span>@</span>neye<span style="display: none">.nosp@m.</span>on.de</a>)</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SMain"><td class=SEntry><a href="#Plugin" >Plugin</a></td><td class=SDescription>This is the documentation for the core helpers and jQuery functions of the plugin.</td></tr><tr class="SSection"><td class=SEntry><a href="#JQuery_Plugin_functions" >JQuery Plugin functions</a></td><td class=SDescription>Functions that will be used as jQuery plugins.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#runSubscription" id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">runSubscription</a></td><td class=SDescription>Run all subscriptions with the given name and options on an element.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#runAll" id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">runAll</a></td><td class=SDescription>Run all subscription functions with given options.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#formElement" id=link3 onMouseOver="ShowTip(event, 'tt3', 'link3')" onMouseOut="HideTip('tt3')">formElement</a></td><td class=SDescription>Creates a form element on an element with given options</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#buildForm" id=link4 onMouseOver="ShowTip(event, 'tt4', 'link4')" onMouseOut="HideTip('tt4')">buildForm</a></td><td class=SDescription>Build an entire form if the current element is a form and no type has been given for the root element or append a new form if the root element does not have a type given. </td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#dfromAttr" >dfromAttr</a></td><td class=SDescription>Adds HTML attributes to the current element from the given options. </td></tr><tr class="SSection"><td class=SEntry><a href="#Global_helper_functions" >Global helper functions</a></td><td class=SDescription>Helper functions that can be used globally and are added to the jQuery object.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#keyset" id=link5 onMouseOver="ShowTip(event, 'tt5', 'link5')" onMouseOut="HideTip('tt5')">keyset</a></td><td class=SDescription>Returns an array of keys (properties) contained in the given object.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#withKeys" id=link6 onMouseOver="ShowTip(event, 'tt6', 'link6')" onMouseOut="HideTip('tt6')">withKeys</a></td><td class=SDescription>Returns an object that contains all values from the given object that have a key which is also in the array keys.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#withoutKeys" id=link7 onMouseOver="ShowTip(event, 'tt7', 'link7')" onMouseOut="HideTip('tt7')">withoutKeys</a></td><td class=SDescription>Returns an object that contains all value from the given object that do not have a key which is also in the array keys.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#getValueAt" id=link8 onMouseOver="ShowTip(event, 'tt8', 'link8')" onMouseOut="HideTip('tt8')">getValueAt</a></td><td class=SDescription>Returns the value in an object based on the given dot separated path or false if not found. </td></tr><tr class="SSection"><td class=SEntry><a href="#Options" >Options</a></td><td class=SDescription>Default options the plugin is initialized with</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent2 SMarked"><td class=SEntry><a href="#prefix" >prefix</a></td><td class=SDescription>The Default prefix used for element classnames generated by the dform plugin. </td></tr><tr class="SVariable SIndent2"><td class=SEntry><a href="#ajaxFormat" >ajaxFormat</a></td><td class=SDescription>The format used if forms are loaded via AJAX. </td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#defaultType" id=link9 onMouseOver="ShowTip(event, 'tt9', 'link9')" onMouseOut="HideTip('tt9')">defaultType</a></td><td class=SDescription>A function that is called, when no registered type has been found. </td></tr><tr class="SSection"><td class=SEntry><a href="#Static_helper_functions" >Static helper functions</a></td><td class=SDescription>Static helpers for the plugin, that can be found in the <b>$.dform</b> namespace.</td></tr><tr class="SGroup SIndent1"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#removeType" id=link10 onMouseOver="ShowTip(event, 'tt10', 'link10')" onMouseOut="HideTip('tt10')">removeType</a></td><td class=SDescription>Delete an element type.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#typeNames" id=link11 onMouseOver="ShowTip(event, 'tt11', 'link11')" onMouseOut="HideTip('tt11')">typeNames</a></td><td class=SDescription>Returns the names of all types registered</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#addType" id=link12 onMouseOver="ShowTip(event, 'tt12', 'link12')" onMouseOut="HideTip('tt12')">addType</a></td><td class=SDescription>Register a element type function.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#addTypeIf" id=link13 onMouseOver="ShowTip(event, 'tt13', 'link13')" onMouseOut="HideTip('tt13')">addTypeIf</a></td><td class=SDescription>Register a element type function.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#subscriberNames" id=link14 onMouseOver="ShowTip(event, 'tt14', 'link14')" onMouseOut="HideTip('tt14')">subscriberNames</a></td><td class=SDescription>Returns the names of all subscriber functions registered</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#subscribe" id=link15 onMouseOver="ShowTip(event, 'tt15', 'link15')" onMouseOut="HideTip('tt15')">subscribe</a></td><td class=SDescription>Register a subscriber function.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#subscribeIf" id=link16 onMouseOver="ShowTip(event, 'tt16', 'link16')" onMouseOut="HideTip('tt16')">subscribeIf</a></td><td class=SDescription>Register a subscriber if a given condition is true. </td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#removeSubscription" id=link17 onMouseOver="ShowTip(event, 'tt17', 'link17')" onMouseOut="HideTip('tt17')">removeSubscription</a></td><td class=SDescription>Delete all subscriptions for a given name.</td></tr><tr class="SFunction SIndent2 SMarked"><td class=SEntry><a href="#hasSubscription" id=link18 onMouseOver="ShowTip(event, 'tt18', 'link18')" onMouseOut="HideTip('tt18')">hasSubscription</a></td><td class=SDescription>Returns if a subscriber function with the given name has been registered.</td></tr><tr class="SFunction SIndent2"><td class=SEntry><a href="#createElement" id=link19 onMouseOver="ShowTip(event, 'tt19', 'link19')" onMouseOut="HideTip('tt19')">createElement</a></td><td class=SDescription>Create a new element.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CSection"><div class=CTopic><h2 class=CTitle><a name="JQuery_Plugin_functions"></a>JQuery Plugin functions</h2><div class=CBody><p>Functions that will be used as jQuery plugins.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#runSubscription" id=link20 onMouseOver="ShowTip(event, 'tt1', 'link20')" onMouseOut="HideTip('tt1')">runSubscription</a></td><td class=SDescription>Run all subscriptions with the given name and options on an element.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#runAll" id=link21 onMouseOver="ShowTip(event, 'tt2', 'link21')" onMouseOut="HideTip('tt2')">runAll</a></td><td class=SDescription>Run all subscription functions with given options.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#formElement" id=link22 onMouseOver="ShowTip(event, 'tt3', 'link22')" onMouseOut="HideTip('tt3')">formElement</a></td><td class=SDescription>Creates a form element on an element with given options</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#buildForm" id=link23 onMouseOver="ShowTip(event, 'tt4', 'link23')" onMouseOut="HideTip('tt4')">buildForm</a></td><td class=SDescription>Build an entire form if the current element is a form and no type has been given for the root element or append a new form if the root element does not have a type given. </td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#dfromAttr" >dfromAttr</a></td><td class=SDescription>Adds HTML attributes to the current element from the given options. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="runSubscription"></a>runSubscription</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>runSubscription : function(</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>options,</td></tr><tr><td></td><td class=PParameter nowrap>type</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Run all subscriptions with the given name and options on an element.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>name</td><td class=CDLDescription>The name of the subscriber functions</td></tr><tr><td class=CDLEntry>options</td><td class=CDLDescription>Options for the function</td></tr><tr><td class=CDLEntry>type</td><td class=CDLDescription>The type of the current element (as in the registered types)</td></tr></table><h4 class=CHeading>Returns</h4><p>The jQuery element this function has been called on</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="runAll"></a>runAll</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>runAll : function(</td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Run all subscription functions with given options.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>options</td><td class=CDLDescription>The options to use</td></tr></table><h4 class=CHeading>Returns</h4><p>The jQuery element this function has been called on</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="formElement"></a>formElement</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>formElement : function(</td><td class=PParameter nowrap>options,</td></tr><tr><td></td><td class=PParameter nowrap>converter</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Creates a form element on an element with given options</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>options</td><td class=CDLDescription>The options to use</td></tr><tr><td class=CDLEntry>converter</td><td class=CDLDescription>The name of the converter in $.dform.converters that will be used to convert the options</td></tr></table><h4 class=CHeading>Returns</h4><p>The jQuery element this function has been called on</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="buildForm"></a>buildForm</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>buildForm : function(</td><td class=PParameter nowrap>options,</td></tr><tr><td></td><td class=PParameter nowrap>params,</td></tr><tr><td></td><td class=PParameter nowrap>callback</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Build an entire form if the current element is a form and no type has been given for the root element or append a new form if the root element does not have a type given.&nbsp; Otherwise the formElement function will be called on the current element.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>options</td><td class=CDLDescription>The options to use or a url that returns the forms JSON.</td></tr><tr><td class=CDLEntry>params (optional)</td><td class=CDLDescription>Parameters that should be passed to a URL or a &lt;converter&gt; name</td></tr><tr><td class=CDLEntry>callback (optional)</td><td class=CDLDescription>An on success callback when the form is loaded</td></tr></table><h4 class=CHeading>Returns</h4><p>The jQuery element this function has been called on</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="dfromAttr"></a>dfromAttr</h3><div class=CBody><p>Adds HTML attributes to the current element from the given options.&nbsp; Any subscriber will be ommited so that the attributes will contain any key value pair where the key is not the name of a subscriber function and is not in the string array excludes.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>object</td><td class=CDLDescription>The attribute object</td></tr><tr><td class=CDLEntry>excludes</td><td class=CDLDescription>A list of keys that should also be excluded</td></tr></table><h4 class=CHeading>Returns</h4><p>The jQuery object of the this reference</p></div></div></div>

<div class="CSection"><div class=CTopic><h2 class=CTitle><a name="Global_helper_functions"></a>Global helper functions</h2><div class=CBody><p>Helper functions that can be used globally and are added to the jQuery object.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#keyset" id=link24 onMouseOver="ShowTip(event, 'tt5', 'link24')" onMouseOut="HideTip('tt5')">keyset</a></td><td class=SDescription>Returns an array of keys (properties) contained in the given object.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#withKeys" id=link25 onMouseOver="ShowTip(event, 'tt6', 'link25')" onMouseOut="HideTip('tt6')">withKeys</a></td><td class=SDescription>Returns an object that contains all values from the given object that have a key which is also in the array keys.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#withoutKeys" id=link26 onMouseOver="ShowTip(event, 'tt7', 'link26')" onMouseOut="HideTip('tt7')">withoutKeys</a></td><td class=SDescription>Returns an object that contains all value from the given object that do not have a key which is also in the array keys.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#getValueAt" id=link27 onMouseOver="ShowTip(event, 'tt8', 'link27')" onMouseOut="HideTip('tt8')">getValueAt</a></td><td class=SDescription>Returns the value in an object based on the given dot separated path or false if not found. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="keyset"></a>keyset</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>keyset : function(</td><td class=PParameter nowrap>object</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns an array of keys (properties) contained in the given object.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>object</td><td class=CDLDescription>The object to use</td></tr></table><h4 class=CHeading>Returns</h4><p>An array containing all properties in the object</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="withKeys"></a>withKeys</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>withKeys : function(</td><td class=PParameter nowrap>object,</td></tr><tr><td></td><td class=PParameter nowrap>keys</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns an object that contains all values from the given object that have a key which is also in the array keys.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>object</td><td class=CDLDescription>The object to traverse</td></tr><tr><td class=CDLEntry>keys</td><td class=CDLDescription>The keys the new object should contain</td></tr></table><h4 class=CHeading>Returns</h4><p>A new object containing only the properties with names given in keys</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="withoutKeys"></a>withoutKeys</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>withoutKeys : function(</td><td class=PParameter nowrap>object,</td></tr><tr><td></td><td class=PParameter nowrap>keys</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns an object that contains all value from the given object that do not have a key which is also in the array keys.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>object</td><td class=CDLDescription>The object to traverse</td></tr><tr><td class=CDLEntry>keys</td><td class=CDLDescription>A list of keys that should not be contained in the new object</td></tr></table><h4 class=CHeading>Returns</h4><p>A new object with all properties of the given object, except for the ones given in the list of keys</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="getValueAt"></a>getValueAt</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getValueAt : function(</td><td class=PParameter nowrap>object,</td></tr><tr><td></td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns the value in an object based on the given dot separated path or false if not found.&nbsp; E.g.&nbsp; $.getValueAt({ &ldquo;test&rdquo; : { &ldquo;inner&rdquo; : { &ldquo;value&rdquo; : &ldquo;X&rdquo; }}}, &ldquo;test.inner.value&rdquo;) will return &ldquo;X&rdquo;.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>object</td><td class=CDLDescription>The object to traverse</td></tr><tr><td class=CDLEntry>path</td><td class=CDLDescription>The path to use.&nbsp; It can be either a dot separated string or an array of indexes.</td></tr></table><h4 class=CHeading>Returns</h4><p>The objects value or false</p></div></div></div>

<div class="CSection"><div class=CTopic><h2 class=CTitle><a name="Options"></a>Options</h2><div class=CBody><p>Default options the plugin is initialized with</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Variables" >Variables</a></td><td class=SDescription></td></tr><tr class="SVariable SIndent1 SMarked"><td class=SEntry><a href="#prefix" >prefix</a></td><td class=SDescription>The Default prefix used for element classnames generated by the dform plugin. </td></tr><tr class="SVariable SIndent1"><td class=SEntry><a href="#ajaxFormat" >ajaxFormat</a></td><td class=SDescription>The format used if forms are loaded via AJAX. </td></tr><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#defaultType" id=link28 onMouseOver="ShowTip(event, 'tt9', 'link28')" onMouseOut="HideTip('tt9')">defaultType</a></td><td class=SDescription>A function that is called, when no registered type has been found. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Variables"></a>Variables</h3></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="prefix"></a>prefix</h3><div class=CBody><p>The Default prefix used for element classnames generated by the dform plugin.&nbsp; Defaults to ui-dform- E.g. an element with type text will have the class ui-dform-text</p></div></div></div>

<div class="CVariable"><div class=CTopic><h3 class=CTitle><a name="ajaxFormat"></a>ajaxFormat</h3><div class=CBody><p>The format used if forms are loaded via AJAX.&nbsp; Defaults to JSON</p></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="defaultType"></a>defaultType</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>defaultType : function(</td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>A function that is called, when no registered type has been found.&nbsp; The default behaviour returns an HTML element with the tag as specified in type and the HTML attributes given in options (without subscriber options).</p></div></div></div>

<div class="CSection"><div class=CTopic><h2 class=CTitle><a name="Static_helper_functions"></a>Static helper functions</h2><div class=CBody><p>Static helpers for the plugin, that can be found in the <b>$.dform</b> namespace.</p><!--START_ND_SUMMARY--><div class=Summary><div class=STitle>Summary</div><div class=SBorder><table border=0 cellspacing=0 cellpadding=0 class=STable><tr class="SGroup"><td class=SEntry><a href="#Functions" >Functions</a></td><td class=SDescription></td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#removeType" id=link29 onMouseOver="ShowTip(event, 'tt10', 'link29')" onMouseOut="HideTip('tt10')">removeType</a></td><td class=SDescription>Delete an element type.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#typeNames" id=link30 onMouseOver="ShowTip(event, 'tt11', 'link30')" onMouseOut="HideTip('tt11')">typeNames</a></td><td class=SDescription>Returns the names of all types registered</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#addType" id=link31 onMouseOver="ShowTip(event, 'tt12', 'link31')" onMouseOut="HideTip('tt12')">addType</a></td><td class=SDescription>Register a element type function.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#addTypeIf" id=link32 onMouseOver="ShowTip(event, 'tt13', 'link32')" onMouseOut="HideTip('tt13')">addTypeIf</a></td><td class=SDescription>Register a element type function.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#subscriberNames" id=link33 onMouseOver="ShowTip(event, 'tt14', 'link33')" onMouseOut="HideTip('tt14')">subscriberNames</a></td><td class=SDescription>Returns the names of all subscriber functions registered</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#subscribe" id=link34 onMouseOver="ShowTip(event, 'tt15', 'link34')" onMouseOut="HideTip('tt15')">subscribe</a></td><td class=SDescription>Register a subscriber function.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#subscribeIf" id=link35 onMouseOver="ShowTip(event, 'tt16', 'link35')" onMouseOut="HideTip('tt16')">subscribeIf</a></td><td class=SDescription>Register a subscriber if a given condition is true. </td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#removeSubscription" id=link36 onMouseOver="ShowTip(event, 'tt17', 'link36')" onMouseOut="HideTip('tt17')">removeSubscription</a></td><td class=SDescription>Delete all subscriptions for a given name.</td></tr><tr class="SFunction SIndent1 SMarked"><td class=SEntry><a href="#hasSubscription" id=link37 onMouseOver="ShowTip(event, 'tt18', 'link37')" onMouseOut="HideTip('tt18')">hasSubscription</a></td><td class=SDescription>Returns if a subscriber function with the given name has been registered.</td></tr><tr class="SFunction SIndent1"><td class=SEntry><a href="#createElement" id=link38 onMouseOver="ShowTip(event, 'tt19', 'link38')" onMouseOut="HideTip('tt19')">createElement</a></td><td class=SDescription>Create a new element.</td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>

<div class="CGroup"><div class=CTopic><h3 class=CTitle><a name="Functions"></a>Functions</h3></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="removeType"></a>removeType</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeType : function(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Delete an element type.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>name</td><td class=CDLDescription>The name of the type to delete</td></tr></table></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="typeNames"></a>typeNames</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td>typeNames : function()</td></tr></table></blockquote><p>Returns the names of all types registered</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="addType"></a>addType</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addType : function(</td><td class=PParameter nowrap>data,</td></tr><tr><td></td><td class=PParameter nowrap>fn</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Register a element type function.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>data</td><td class=CDLDescription>Can either be the name of the type function or an object that contains name : type function pairs</td></tr><tr><td class=CDLEntry>fn</td><td class=CDLDescription>The function that creates a new type element</td></tr></table></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="addTypeIf"></a>addTypeIf</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addTypeIf : function(</td><td class=PParameter nowrap>condition,</td></tr><tr><td></td><td class=PParameter nowrap>data,</td></tr><tr><td></td><td class=PParameter nowrap>fn</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Register a element type function.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>condition</td><td class=CDLDescription>The condition under which to subscribe</td></tr><tr><td class=CDLEntry>data</td><td class=CDLDescription>Can either be the name of the type builder function or an object that contains name : type function pairs</td></tr><tr><td class=CDLEntry>fn</td><td class=CDLDescription>The function to subscribe or nothing if an object is passed for data</td></tr></table><h4 class=CHeading>See also</h4><p><a href="#addType" class=LFunction id=link39 onMouseOver="ShowTip(event, 'tt12', 'link39')" onMouseOut="HideTip('tt12')">addType</a></p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="subscriberNames"></a>subscriberNames</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td>subscriberNames : function()</td></tr></table></blockquote><p>Returns the names of all subscriber functions registered</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="subscribe"></a>subscribe</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>subscribe : function(</td><td class=PParameter nowrap>data,</td></tr><tr><td></td><td class=PParameter nowrap>fn</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Register a subscriber function.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>data</td><td class=CDLDescription>Can either be the name of the subscriber function or an object that contains name : subscriber function pairs</td></tr><tr><td class=CDLEntry>fn</td><td class=CDLDescription>The function to subscribe or nothing if an object is passed for data</td></tr></table></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="subscribeIf"></a>subscribeIf</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>subscribeIf : function(</td><td class=PParameter nowrap>condition,</td></tr><tr><td></td><td class=PParameter nowrap>data,</td></tr><tr><td></td><td class=PParameter nowrap>fn</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Register a subscriber if a given condition is true.&nbsp; Use it if you want to subscribe only, if e.g. a required plugin is installed (pass $.isFunction($.fn.pluginName)).</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>condition</td><td class=CDLDescription>The condition under which to subscribe</td></tr><tr><td class=CDLEntry>data</td><td class=CDLDescription>Can either be the name of the subscriber function or an object that contains name : subscriber function pairs</td></tr><tr><td class=CDLEntry>fn</td><td class=CDLDescription>The function to subscribe or nothing if an object is passed for data</td></tr></table><h4 class=CHeading>See also</h4><p><a href="#subscribe" class=LFunction id=link40 onMouseOver="ShowTip(event, 'tt15', 'link40')" onMouseOut="HideTip('tt15')">subscribe</a></p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="removeSubscription"></a>removeSubscription</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeSubscription : function(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Delete all subscriptions for a given name.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>name</td><td class=CDLDescription>The name of the subscriber to delete</td></tr></table></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="hasSubscription"></a>hasSubscription</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>hasSubscription : function(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Returns if a subscriber function with the given name has been registered.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>name</td><td class=CDLDescription>The subscriber name</td></tr></table><h4 class=CHeading>Returns</h4><p>True if the given name has at least one subscriber registered, false otherwise</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="createElement"></a>createElement</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>createElement : function(</td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote><p>Create a new element.</p><h4 class=CHeading>Parameters</h4><table border=0 cellspacing=0 cellpadding=0 class=CDescriptionList><tr><td class=CDLEntry>options</td><td class=CDLDescription>The options to use</td></tr></table><h4 class=CHeading>Returns</h4><p>The element as created by the builder function specified or returned by the <a href="#defaultType" class=LFunction id=link41 onMouseOver="ShowTip(event, 'tt9', 'link41')" onMouseOut="HideTip('tt9')">defaultType</a> function.</p></div></div></div>

</div><!--Content-->


<div id=Footer>Copyright &copy; 2011 - David Luecke - daff@neyeon.de&nbsp; &middot;&nbsp; <a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MTitle>jQuery::dForm 0.1.3</div><div class=MEntry><div class=MFile><a href="../files2/readme-txt.html">Home</a></div></div><div class=MEntry><div class=MFile><a href="../files2/examples-txt.html">Examples</a></div></div><div class=MEntry><div class=MFile><a href="dform-subscribers-js.html">Usage</a></div></div><div class=MEntry><div class=MFile><a href="dform-extensions-js.html">Extension</a></div></div><div class=MEntry><div class=MFile id=MSelected>Plugin</div></div><div class=MEntry><div class=MFile><a href="../files2/changelog-txt.html">Changelog</a></div></div><div class=MEntry><div class=MFile><a href="../files2/license-txt.html">License</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Index</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MIndex><a href="../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Types.html">Types</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Subscribers.html">Subscribers</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Functions.html">Functions</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Examples.html">Examples</a></div></div><div class=MEntry><div class=MIndex><a href="../index/Variables.html">Variables</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Examples">Examples</option><option value="Files">Files</option><option value="Functions">Functions</option><option value="Subscribers">Subscribers</option><option value="Types">Types</option><option value="Variables">Variables</option></select></div></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>runSubscription : function(</td><td class=PParameter nowrap>name,</td></tr><tr><td></td><td class=PParameter nowrap>options,</td></tr><tr><td></td><td class=PParameter nowrap>type</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Run all subscriptions with the given name and options on an element.</div></div><div class=CToolTip id="tt2"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>runAll : function(</td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Run all subscription functions with given options.</div></div><div class=CToolTip id="tt3"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>formElement : function(</td><td class=PParameter nowrap>options,</td></tr><tr><td></td><td class=PParameter nowrap>converter</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Creates a form element on an element with given options</div></div><div class=CToolTip id="tt4"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>buildForm : function(</td><td class=PParameter nowrap>options,</td></tr><tr><td></td><td class=PParameter nowrap>params,</td></tr><tr><td></td><td class=PParameter nowrap>callback</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Build an entire form if the current element is a form and no type has been given for the root element or append a new form if the root element does not have a type given. </div></div><div class=CToolTip id="tt5"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>keyset : function(</td><td class=PParameter nowrap>object</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns an array of keys (properties) contained in the given object.</div></div><div class=CToolTip id="tt6"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>withKeys : function(</td><td class=PParameter nowrap>object,</td></tr><tr><td></td><td class=PParameter nowrap>keys</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns an object that contains all values from the given object that have a key which is also in the array keys.</div></div><div class=CToolTip id="tt7"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>withoutKeys : function(</td><td class=PParameter nowrap>object,</td></tr><tr><td></td><td class=PParameter nowrap>keys</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns an object that contains all value from the given object that do not have a key which is also in the array keys.</div></div><div class=CToolTip id="tt8"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>getValueAt : function(</td><td class=PParameter nowrap>object,</td></tr><tr><td></td><td class=PParameter nowrap>path</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns the value in an object based on the given dot separated path or false if not found. </div></div><div class=CToolTip id="tt9"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>defaultType : function(</td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>A function that is called, when no registered type has been found. </div></div><div class=CToolTip id="tt10"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeType : function(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Delete an element type.</div></div><div class=CToolTip id="tt11"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td>typeNames : function()</td></tr></table></blockquote>Returns the names of all types registered</div></div><div class=CToolTip id="tt12"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addType : function(</td><td class=PParameter nowrap>data,</td></tr><tr><td></td><td class=PParameter nowrap>fn</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Register a element type function.</div></div><div class=CToolTip id="tt13"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>addTypeIf : function(</td><td class=PParameter nowrap>condition,</td></tr><tr><td></td><td class=PParameter nowrap>data,</td></tr><tr><td></td><td class=PParameter nowrap>fn</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Register a element type function.</div></div><div class=CToolTip id="tt14"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td>subscriberNames : function()</td></tr></table></blockquote>Returns the names of all subscriber functions registered</div></div><div class=CToolTip id="tt15"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>subscribe : function(</td><td class=PParameter nowrap>data,</td></tr><tr><td></td><td class=PParameter nowrap>fn</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Register a subscriber function.</div></div><div class=CToolTip id="tt16"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>subscribeIf : function(</td><td class=PParameter nowrap>condition,</td></tr><tr><td></td><td class=PParameter nowrap>data,</td></tr><tr><td></td><td class=PParameter nowrap>fn</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Register a subscriber if a given condition is true. </div></div><div class=CToolTip id="tt17"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>removeSubscription : function(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Delete all subscriptions for a given name.</div></div><div class=CToolTip id="tt18"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>hasSubscription : function(</td><td class=PParameter nowrap>name</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Returns if a subscriber function with the given name has been registered.</div></div><div class=CToolTip id="tt19"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class=PBeforeParameters nowrap>createElement : function(</td><td class=PParameter nowrap>options</td><td class=PAfterParameters nowrap>)</td></tr></table></td></tr></table></blockquote>Create a new element.</div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>